﻿
@{
    ViewBag.Title = "PublishNewPosts";
}
<hr>
<div class="panel panel-success">
    <div class="panel-heading">
        <h2 class="panel-title" style="color:red">发布新帖</h2>
    </div>
    <div class="panel-body">

        <div class="form-group">
            <div class="col-xs-12">
                <input type="text" class="form-control" id="titlename"
                       placeholder="请输入标题(不超过20字)">
            </div><hr>
        </div>
        
        <div class="form-group">
            <div class="col-xs-12"><hr>
                <textarea class="form-control" rows="3" placeholder="请输入内容" id="content"></textarea>
            </div>
        </div>

        <div class="form-group">
            <div class="col-xs-6">
                <hr>
                <img src="~/img/forum/upload1.png" class="img-rounded" id="avatar" />
            </div>
            <div class="col-xs-6">
                <button type="button" class="btn btn-success" onclick="showAction();" style="margin-top:100px">上传图片</button>
            </div>
        </div>

        <div class="form-group">
            <div class="col-xs-10">
                <hr>
                <button type="submit" class="btn btn-primary">发布</button>
            </div>
        </div>
    </div>
</div>

<hr>
<div class="row">
    <div class="col-md-6">
        <a href="#">返回顶部</a>
    </div>

</div>
@*左边固定广告栏*@
<div class="Advertisement ">
    <nav class="col-sm-3 col-4" id="myScrollspy">
        <ul class="nav nav-pills flex-column" style="background-color:#99ffff">
            <li class="nav-item">
                <a class="nav-link active" data-toggle="tooltip" data-placement="right" title="开发者联盟" href="#section1" style="color:black;">关于我们</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" data-toggle="tooltip" data-placement="right" title="QQ946232976" href="#section2" style="color:black;">联系方式</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#section3" style="color:black;">广告投资</a>
            </li>

        </ul>
    </nav>
</div>
<hr>
<footer>
    <p>&copy; @DateTime.Now.Year - 随查科技网</p>
</footer>
